home *** CD-ROM | disk | FTP | other *** search
- # This script was automatically generated from the dsa-099
- # Debian Security Advisory
- # It is released under the Nessus Script Licence.
- # Advisory is copyright 1997-2004 Software in the Public Interest, Inc.
- # See http://www.debian.org/license
- # DSA2nasl Convertor is copyright 2004 Michel Arboi
-
- if (! defined_func('bn_random')) exit(0);
-
- desc = '
- zen-parse found a vulnerability in the XChat IRC client that allows an
- attacker to take over the users IRC session.
- It is possible to trick XChat IRC clients into sending arbitrary
- commands to the IRC server they are on, potentially allowing social
- engineering attacks, channel takeovers, and denial of service. This
- problem exists in versions 1.4.2 and 1.4.3. Later versions of XChat
- are vulnerable as well, but this behaviour is controlled by the
- configuration variable ╗percascii½, which defaults to 0. If it is set
- to 1 then the problem becomes apparent in 1.6/1.8 as well.
- This problem has been fixed in upstream version 1.8.7 and in version
- 1.4.3-1 for the current stable Debian release (2.2) with a patch
- provided from the upstream author Peter Zelezny. We recommend that
- you upgrade your XChat packages immediately, since this problem is
- already actively being exploited.
-
-
- Solution : http://www.debian.org/security/2002/dsa-099
- Risk factor : High';
-
- if (description) {
- script_id(14936);
- script_version("$Revision: 1.4 $");
- script_xref(name: "DSA", value: "099");
- script_cve_id("CVE-2002-0006");
-
- script_description(english: desc);
- script_copyright(english: "This script is (C) 2004 Michel Arboi");
- script_name(english: "[DSA099] DSA-099-1 xchat");
- script_category(ACT_GATHER_INFO);
- script_family(english: "Debian Local Security Checks");
- script_dependencies("ssh_get_info.nasl");
- script_require_keys("Host/Debian/dpkg-l");
- script_summary(english: "DSA-099-1 xchat");
- exit(0);
- }
-
- include("debian_package.inc");
-
- w = 0;
- if (deb_check(prefix: 'xchat', release: '2.2', reference: '1.4.3-1')) {
- w ++;
- if (report_verbosity > 0) desc = strcat(desc, '\nThe package xchat is vulnerable in Debian 2.2.\nUpgrade to xchat_1.4.3-1\n');
- }
- if (deb_check(prefix: 'xchat-common', release: '2.2', reference: '1.4.3-1')) {
- w ++;
- if (report_verbosity > 0) desc = strcat(desc, '\nThe package xchat-common is vulnerable in Debian 2.2.\nUpgrade to xchat-common_1.4.3-1\n');
- }
- if (deb_check(prefix: 'xchat-gnome', release: '2.2', reference: '1.4.3-1')) {
- w ++;
- if (report_verbosity > 0) desc = strcat(desc, '\nThe package xchat-gnome is vulnerable in Debian 2.2.\nUpgrade to xchat-gnome_1.4.3-1\n');
- }
- if (deb_check(prefix: 'xchat-text', release: '2.2', reference: '1.4.3-1')) {
- w ++;
- if (report_verbosity > 0) desc = strcat(desc, '\nThe package xchat-text is vulnerable in Debian 2.2.\nUpgrade to xchat-text_1.4.3-1\n');
- }
- if (w) { security_hole(port: 0, data: desc); }
-